Package com.cisco.pt.ipc.sim
Interface BluetoothManager
- All Known Implementing Classes:
BluetoothManagerImpl
Information provided by the PKI file:
\class BluetoothManager
\brief BluetoothManager.
\example network().getDevice("SBC0").getProcess("BluetoothManager")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionvoidacceptPairRequest(MACAddress macAddress, String deviceName) booleanbroadcastBeacon(UUID beaconUuid, String data) voiddiscover()voidenableBroadcast(boolean bEnable) intgetDevice(MACAddress macAddress) getDeviceAt(int index) getDeviceByName(String deviceName) intbooleanbooleanbooleanvoidpair(MACAddress macAddress) booleanprocessPairRequest(MACAddress macAddress, String deviceName) voidsetBeaconBroadcasting(boolean bBroadcast) voidsetBeaconData(String data) voidsetBeaconFrequency(int secs) voidsetBeaconUuid(UUID beaconUuid) voidsetDiscoverable(boolean bDiscoverable) voidunpair(MACAddress macAddress) Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setDiscoverable
void setDiscoverable(boolean bDiscoverable) - Parameters:
bDiscoverable- Takes in a parameter of bDiscoverable
-
isDiscoverable
boolean isDiscoverable()- Returns:
- boolean Returns a boolean
-
discover
void discover() -
pair
- Parameters:
macAddress- Takes in a parameter of macAddress
-
acceptPairRequest
- Parameters:
macAddress- Takes in a parameter of macAddressdeviceName- Takes in a parameter of deviceName
-
unpair
- Parameters:
macAddress- Takes in a parameter of macAddress
-
processPairRequest
- Parameters:
macAddress- Takes in a parameter of macAddressdeviceName- Takes in a parameter of deviceName- Returns:
- boolean Returns a boolean
-
getDeviceCount
int getDeviceCount()- Returns:
- int Returns a int
-
getDeviceAt
- Parameters:
index- Takes in a parameter of index- Returns:
- BluetoothDevice Returns a BluetoothDevice
-
getDevice
- Parameters:
macAddress- Takes in a parameter of macAddress- Returns:
- BluetoothDevice Returns a BluetoothDevice
-
getDeviceByName
- Parameters:
deviceName- Takes in a parameter of deviceName- Returns:
- BluetoothDevice Returns a BluetoothDevice
-
enableBroadcast
void enableBroadcast(boolean bEnable) - Parameters:
bEnable- Takes in a parameter of bEnable
-
isBroadcastEnabled
boolean isBroadcastEnabled()- Returns:
- boolean Returns a boolean
-
setBeaconBroadcasting
void setBeaconBroadcasting(boolean bBroadcast) - Parameters:
bBroadcast- Takes in a parameter of bBroadcast
-
isBeaconBroadcasting
boolean isBeaconBroadcasting()- Returns:
- boolean Returns a boolean
-
setBeaconFrequency
void setBeaconFrequency(int secs) - Parameters:
secs- Takes in a parameter of secs
-
getBeaconFrequency
int getBeaconFrequency()- Returns:
- int Returns a int
-
setBeaconUuid
- Parameters:
beaconUuid- Takes in a parameter of beaconUuid
-
getBeaconUuid
UUID getBeaconUuid()- Returns:
- UUID Returns a UUID
-
setBeaconData
- Parameters:
data- Takes in a parameter of data
-
getBeaconData
String getBeaconData()- Returns:
- String Returns a String
-
broadcastBeacon
- Parameters:
beaconUuid- Takes in a parameter of beaconUuiddata- Takes in a parameter of data- Returns:
- boolean Returns a boolean
-
createCustomProcess
CustomBluetoothProcess createCustomProcess()- Returns:
- CustomBluetoothProcess Returns a CustomBluetoothProcess
-